export default function useLoading(initValue = false) {
  const { bool: loading, setFalse: endLoading, setTrue: startLoading } = useBool(initValue);

  return {
    endLoading,
    loading,
    startLoading,
  };
}
